import { Component, OnInit } from '@angular/core';
import { _HttpClient } from '@delon/theme';
import {HttpClient} from '@angular/common/http';
import {ActivatedRoute, Router} from '@angular/router';

@Component({
  selector: 'app-chat-pay',
  templateUrl: './chat-pay.component.html',
    styleUrls: ['./chat-pay.component.less'],
})
export class ChatPayComponent implements OnInit {

    pageInfo= {
        title: '微信支付',
        amount: '需付金额：',
        qrCode: '扫码支付：',
    };
    amount;
    constructor(
        private http: HttpClient,private route: ActivatedRoute, private router: Router,
    ) {
        this.amount = this.route.snapshot.paramMap.get('rechargeAmount');
    }

    ngOnInit() {
    }

}
